﻿using System.Linq;
using System.Windows;
using System.Windows.Controls;
using Rio.Applications.Web.Services;
using Rio.Framework.Pages.AppCode.ApplicationNavigation;
using Rio.Framework.Pages.Context;
using Rio.Framework.Pages.Manager;
using Rio.Framework.Pages.ModalControls;

namespace Rio.Application.RioWeb
{
    public partial class NavigationPage : UserControl
    {
        public NavigationPage()
        {
            InitializeComponent();

            NavigationHelper.Instance.InitializeFrame(applicationFrame);
        }

        private void ApplicationPageSizeChanged(object sender, SizeChangedEventArgs e)
        {
            ModalDialogController.Application_Resized(sender, e);
        }
    }
}
